<?php
/**
 *
 * 文档收藏次数统计
 *
 */
require_once(dirname(__FILE__)."/../include/common.inc.php");
$aid = (isset($aid) && is_numeric($aid)) ? $aid : 0;
$row = $dsql->GetOne("select count(*) as c from `#@__member_stow` WHERE aid='$aid' ");
if(empty($row['c'])) $row['c'] = 0;
echo "document.write('{$row['c']}');";
exit();